package com.easy.common.web.message;

public class SaveOrEditMessage extends Message {

	public SaveOrEditMessage(int result){
		if (0 == result) {
			super.setTitle("错误");
			super.setMsg("保存操作失败");
			super.setSuccessful(false);
		} else {
			super.setTitle("提示");
			super.setMsg("保存操作成功");
			super.setSuccessful(true);
		}
	}
}
